package com.example.demo.respository;

import com.example.demo.model.AppData;
import com.example.demo.model.User;
import com.example.demo.model.json.ConfigData;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface ConfigRepository extends CrudRepository<ConfigData, Long> {


//    Iterable<ConfigData> findById(Long id);//success

    Page<ConfigData> findAll(Pageable page);
}
